<?php

namespace App\Providers;

use Illuminate\Support\ServiceProvider;
use Dcat\Admin\Grid\Filter\Presenter\Select;
use App\Admin\Extensions\SelectPresenter;

class AppServiceProvider extends ServiceProvider
{
    /**
     * Register any application services.
     *
     * @return void
     */
    public function register()
    {
        $this->app->bind(Select::class, SelectPresenter::class);
    }

    /**
     * Bootstrap any application services.
     *
     * @return void
     */
    public function boot()
    {
        \Schema::defaultStringLength(191);
        require_once app_path('Admin/Extensions/helpers.php');
    }
}
